from datetime import datetime, date

# 获取今天的日期
today = date.today()
print(f"今天是：{today}")

# 假设退伍日为 2023-12-31
discharge_date = date(2023, 12, 31)
print(f"退伍日是：{discharge_date}")

# 计算剩余天数
remaining_days = (discharge_date - today).days
print(f"距离退伍还有：{remaining_days} 天")
